package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zh
 * @version 1.0
 * @date 2020/6/3 16:18
 * @email 690378361@163.com
 */
@Table(name = "emr.DRUG_RATIONAL_USE")
public class DrugRationalUse extends BaseEntity {
    /**
     *
     */
    @Id
    @Column(name = "RATIONAL_ID")
    private String rationalId;
    /**
     *合理用药日志ID
     */
    @Column(name = "INO")
    private Integer ino;
    /**
     *医嘱ID
     */
    @Column(name ="ORG_ID")
    private String orgId;
    /**
     *合理用药分类：1提醒；2说明原因；3审批；5禁止
     */
    @Column(name = "CTRL_CLASS")
    private String ctrlClass;
    /**
     *药品code
     */
    @Column(name = "CODE")
    private String code;
    /**
     *药品ID
     */
    @Column(name = "DRUG_ID")
    private String drugId;
    /**
     *药品名称
     */
    @Column(name = "CODE_NAME")
    private String codeName;
    /**
     *合理用药提示内容
     */
    @Column(name = "ALERT_MSG")
    private String alertMsg;
    /**
     *说明原因
     */
    @Column(name="RESON_DESCRIBE")
    private String resonDescribe;
    /**
     *说明原因code
     */
    @Column(name="RESON_CODE")
    private String resonCode;
    /**
     *主要诊断
     */
    @Column(name="DIAGNOSIS")
    private String diagnosis;
    /**
     *感染性疾病科是否会诊：1是；0否
     */
    @Column(name = "VIEW_FLAG")
    private String viewFlag;
    /**
     *是否紧急情况下使用：1是；0否
     */
    @Column(name = "EMR_FLAG")
    private String emrFlag;

    /**
     * 审核状态：0-待审核，1-审核通过，2-审核不通过
     */
    @Column(name = "AUDIT_STATUS")
    private String auditStatus;

    /**
     * 审核者
     */
    @Column(name = "AUDIT_USER_ID")
    private String auditUserId;

    /**
     * 审核原因
     */
    @Column(name = "AUDIT_REASON")
    private String auditReason;

    @Column(name = "CTRL_NAME")
    private String ctrlName;


    public String getAuditReason() {
        return auditReason;
    }

    public void setAuditReason(String auditReason) {
        this.auditReason = auditReason;
    }

    public String getCtrlName() {
        return ctrlName;
    }

    public void setCtrlName(String ctrlName) {
        this.ctrlName = ctrlName;
    }

    public String getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(String auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getResonCode() {
        return resonCode;
    }

    public void setResonCode(String resonCode) {
        this.resonCode = resonCode;
    }

    public String getRationalId() {
        return rationalId;
    }

    public void setRationalId(String rationalId) {
        this.rationalId = rationalId;
    }

    public Integer getIno() {
        return ino;
    }

    public void setIno(Integer ino) {
        this.ino = ino;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getCtrlClass() {
        return ctrlClass;
    }

    public void setCtrlClass(String ctrlClass) {
        this.ctrlClass = ctrlClass;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public String getAlertMsg() {
        return alertMsg;
    }

    public void setAlertMsg(String alertMsg) {
        this.alertMsg = alertMsg;
    }

    public String getResonDescribe() {
        return resonDescribe;
    }

    public void setResonDescribe(String resonDescribe) {
        this.resonDescribe = resonDescribe;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public String getViewFlag() {
        return viewFlag;
    }

    public void setViewFlag(String viewFlag) {
        this.viewFlag = viewFlag;
    }

    public String getEmrFlag() {
        return emrFlag;
    }

    public void setEmrFlag(String emrFlag) {
        this.emrFlag = emrFlag;
    }
}
